package com.bridgeintelligent.tag.webserver.dim.mgmt.service.export.excel;

import com.bridgeintelligent.tag.webserver.dim.mgmt.api.DimCatalog;
import com.bridgeintelligent.tag.webserver.dim.mgmt.api.export.ExcelDimDataModel;

import java.util.List;
import java.util.Map;

/**
 * @author JackCheung
 * @date 2020/7/20 11:52 AM.
 * description:
 */
public interface IDimExcelDimCatalogService {

    String FIRST = "1", SECOND = "2",SIGN="%%";

    /**
     * 找到所有标签目录中文名对应的id，并且创建不存在的标签目录，并给excel数据赋目录值
     *
     * @param dimDataModelList List<ExcelDimDataModel> dimDataModelList
     */
    void createCatalog(List<ExcelDimDataModel> dimDataModelList );

    /**
     * 获取所有目录
     *
     * @return Map<String       ,       DimCatalog>
     */
    Map<String, DimCatalog> fetchCatalog();
}
